package com.cssw.fyzb.core.eao.acct;

import com.cssw.fyzb.core.model.eos.LiveRedPackSubEo;
import com.cssw.fyzb.core.model.eos.RedPackLogEo;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.math.BigDecimal;

/**
 * @Author Jian Qin.
 */
public interface RedPackLogEao {
    void save(Long redPackId, Long userId, String packType, String changeType, BigDecimal money, String toString, String tradeType, String tradeName);

    Page<RedPackLogEo> listLog(Long userId, Integer page, Integer limit);


    Page<RedPackLogEo> listRecieveLogById(Long redPackId, String changeType, Integer page, Integer limit);

    Page<RedPackLogEo> listPersonSendPack(Long fromUserId, Integer page, Integer limit);

    RedPackLogEo queryPersonRecieve(Long redPackId, Long userId);
}
